package com.dong.source_ssy.ch02;

import org.springframework.beans.factory.FactoryBean;

public class TestLazyFactoryBean implements FactoryBean<LazyBean> {
	public TestLazyFactoryBean() {
		System.out.println("factorybean  is creating");
	}

	@Override
	public LazyBean getObject() throws Exception {
		return new LazyBean();
	}

	@Override
	public Class<?> getObjectType() {
		return LazyBean.class;
	}
}
